package cn.sciento.platform;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import cn.sciento.autoconfigure.platform.EnableSTongPlatform;

/**
 * STong平台服务启动类
 * 主要包含平台通用功能
 * 

 */
@EnableSTongPlatform
@EnableDiscoveryClient
@SpringBootApplication
public class PlatformApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(PlatformApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
